package com.gxa.modules.model.entity.hospital;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 项目信息
 * </p>
 *
 * @author yjl
 * @since 2022-11-13 04:37:11
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_items")
@ApiModel(value = "Items对象", description = "项目信息")
public class Items implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("项目id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("项目名字")
    @TableField("name")
    private String name;

    @ApiModelProperty("项目价格")
    @TableField("price")
    private BigDecimal price;

    @ApiModelProperty("项目介绍")
    @TableField("include")
    private String include;

    @ApiModelProperty("注意事项")
    @TableField("precautions s")
    private String precautions;

    @ApiModelProperty("状态（0未启用，1已启用）")
    @TableField("state")
    private Integer state;

    @ApiModelProperty("0未删，1已删")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;


}
